package com.zkthink.ceres.applet.authority.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;


@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "注册", description = "注册")
public class RegDTO {


    @ApiModelProperty(value = "手机号")
    @NotBlank(message = "手机号必填")
    private String account;

    @ApiModelProperty(value = "验证码")
    private String code;


    @NotBlank(message = "密码必填")
    private String passWord;


    /**
     * 是否输入验证码，true输入
     */
    @ApiModelProperty(value = "是否输入验证码，true输入,false不输入")
    private Boolean isValidate = false;

    @ApiModelProperty(value = "推荐人电话")
    private String referPhone;


    @ApiModelProperty(value = "经度")
    private String longitude = "116.3972282409668";

    @ApiModelProperty(value = "维度")
    private String latitude = "39.90960456049752";


}
